{layout name="./base/base_back"}
 <link rel="stylesheet" type="text/css" href="/front/css/common.css"/>
	<link rel="stylesheet" type="text/css" href="/front/css/changepwd.css"/>
	<link rel="stylesheet" type="text/css" href="/front/css/jquery-ui.css"/>
	<script src="/front/js/jquery.js"></script>
	<script src="/front/js/jquery-ui.js"></script>
	<script src="/front/js/weifeng.js"></script>
	<script type="text/javascript">
		//数组状态：可选时间段
		var arr1 = {$date_array};

		//判断日期，并设置其状态样式
		function selectedate(date) {
		  var d = formatterDate(date);
		  if($.inArray(d, arr1)!=-1){
		    return [true,'','分享成功'];
		  }else
		  return [false];
		}
	</script>
		<!--分享热门日期开始-->
		<div id="change-pwd-box">
			<div id="change-pwd">
				{include file="./navleft"}
				<div class="change-pwd-right">
					<div class="change-pwd-tit">分享热门日期</div>
					<form action="/userinfo/hotdateform" method="post">
						<div class="change-pwd-form">
							<div class="form-group-input">
								<label for="" class="form-label">设置分享时间：</label>
								<input type="text" name="sdate" value="" id="startdatesc" placeholder="请输入开始日期"/>
								<span>至</span>
								<input type="text" name="edate" value="" id="endatesc" placeholder="请输入结束日期"/>
								<span style="color: red;">请分享旺季连续时间至少15天</span><br>
							</div>
							<div class="form-group-input">
								<label for="" class="form-label">可选旺季时间段：</label>
								<span>{$data.start_date}至{$data.end_date}</span>
							</div>
							<div class="form-group-input form-button">
								<button type="submit">绑定成功</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<!--分享热门日期结束-->

